﻿@model BankCreditPortfolio.Areas.Admin.Models.DeleteCurrencyModel

@{
    ViewBag.Title = "Delete Currency";
}

<h2>Delete Currency?</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Currency deletion was unsuccessful.")
    <div>
        <fieldset>
            <legend>Delete Currency Information</legend>
            <div class="editor-label">
                @Html.LabelFor(x => x.Title)
            </div>
            <div class="editor-field-text">
                @Html.DisplayFor(x => Model.Title)
            </div>
            <input type="submit" name="button" value="OK"/> 
            <input type="button" onclick="ClickCancel();" value="Cancel" />
                <script type="text/javascript">
                    function ClickCancel() {
                        window.location = '@Url.Action("Currencies", "Admin")';
                    }
                </script>
        </fieldset>
    </div>
}